export function localStorageGetItem(s: string): string  {
  let temp: string | null = localStorage.getItem(s);
  if (temp === null) {
    throw new Error("数据为空");
  } else {
    return temp;
  }
}
export function getStringBoolean(s: string): boolean {
  if (/true/i.test(s)) {
    return true;
  } else {
    return false;
  }
}
